//按需导出
export function getArrSum(arr) {
    let sum = 0
    arr.forEach(item => {
        sum += item
    });
    return sum
}